Optimal. Leaf size=449 \[ -\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{32 \sqrt{2} \sqrt{b} f}+\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}+1\right )}{32 \sqrt{2} \sqrt{b} f}+\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{64 \sqrt{2} \sqrt{b} f}-\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{64 \sqrt{2} \sqrt{b} f}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.475627, antiderivative size = 449, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 9, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.36, Rules used = {2583, 2585, 2574, 297, 1162, 617, 204, 1165, 628} \[ -\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{32 \sqrt{2} \sqrt{b} f}+\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}+1\right )}{32 \sqrt{2} \sqrt{b} f}+\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{64 \sqrt{2} \sqrt{b} f}-\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{64 \sqrt{2} \sqrt{b} f}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2583
Rule 2585
Rule 2574
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \sqrt{b \sec (e+f x)} (a \sin (e+f x))^{9/2} \, dx &=-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}+\frac{1}{8} \left (7 a^2\right ) \int \sqrt{b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx\\ &=-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}+\frac{1}{32} \left (21 a^4\right ) \int \sqrt{b \sec (e+f x)} \sqrt{a \sin (e+f x)} \, dx\\ &=-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}+\frac{1}{32} \left (21 a^4 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \int \frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}} \, dx\\ &=-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}+\frac{\left (21 a^5 b \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{16 f}\\ &=-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}-\frac{\left (21 a^5 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{a-b x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{32 f}+\frac{\left (21 a^5 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{a+b x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{32 f}\\ &=-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}+\frac{\left (21 a^5 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}-\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}+x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{64 b f}+\frac{\left (21 a^5 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}+\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}+x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{64 b f}+\frac{\left (21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{a}}{\sqrt{b}}+2 x}{-\frac{a}{b}-\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}-x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{64 \sqrt{2} \sqrt{b} f}+\frac{\left (21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{a}}{\sqrt{b}}-2 x}{-\frac{a}{b}+\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}-x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{64 \sqrt{2} \sqrt{b} f}\\ &=\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{64 \sqrt{2} \sqrt{b} f}-\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{64 \sqrt{2} \sqrt{b} f}-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}+\frac{\left (21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{32 \sqrt{2} \sqrt{b} f}-\frac{\left (21 a^{9/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{32 \sqrt{2} \sqrt{b} f}\\ &=-\frac{21 a^{9/2} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right ) \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}{32 \sqrt{2} \sqrt{b} f}+\frac{21 a^{9/2} \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right ) \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}{32 \sqrt{2} \sqrt{b} f}+\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{64 \sqrt{2} \sqrt{b} f}-\frac{21 a^{9/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{64 \sqrt{2} \sqrt{b} f}-\frac{7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{7/2}}{4 f \sqrt{b \sec (e+f x)}}\\ \end{align*}
Mathematica [C] time = 0.366912, size = 80, normalized size = 0.18 \[ \frac{a^4 \tan (e+f x) \sqrt{a \sin (e+f x)} \sqrt{b \sec (e+f x)} \left (14 \, _2F_1\left (\frac{3}{4},1;\frac{7}{4};-\tan ^2(e+f x)\right )-7 \cos (2 (e+f x))+\cos (4 (e+f x))-8\right )}{32 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.162, size = 546, normalized size = 1.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (f x + e\right )} \left (a \sin \left (f x + e\right )\right )^{\frac{9}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (f x + e\right )} \left (a \sin \left (f x + e\right )\right )^{\frac{9}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]